import { defineAsyncComponent } from "vue";

export const smallSys_2 = function (map) {
  return [
    {
      label: "空调",
      active: true,
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/kongtiao.vue")),
      style: {
        width: 70,
        height: 30,
        left: 753,
        top: 552
      }
    },
    {
      label: "风机",
      active: true,
      isComponent: true,
      deviceCode:'K2/XHPF-B1',
      component: defineAsyncComponent(() => import("@/components/fengshan.vue")),
      style: {
        width: 40,
        height: 30,
        left: 767,
        top: 492
      }
    },
    {
      label: "风机",
      active: true,
      isComponent: true,
      deviceCode:'D2/XF-B1',
      component: defineAsyncComponent(() => import("@/components/fengshan.vue")),
      style: {
        width: 40,
        height: 30,
        left: 694,
        top: 609
      }
    },
    {
      label: "风机",
      active: true,
      isComponent: true,
      deviceCode:'K2/XXF-B1',
      component: defineAsyncComponent(() => import("@/components/fengshan.vue")),
      style: {
        width: 40,
        height: 30,
        left: 553,
        top: 489
      }
    },
    {
      icon: map["DDT_green"],
      isComponent: false,
      style: {
        width: 12,
        height: 37,
        left: 593,
        top: 559
      }
    },
    {
      icon: map["DDT_green"],
      isComponent: false,
      style: {
        width: 12,
        height: 37,
        left: 624,
        top: 608
      }
    },
    {
      icon: map["DDT_green_h"],
      isComponent: false,
      style: {
        width: 37,
        height: 11,
        left: 609,
        top: 453
      }
    },
    {
      icon: map["DDT_green_h"],
      isComponent: false,
      style: {
        width: 37,
        height: 11,
        left: 680,
        top: 424
      }
    },
    {
      icon: map["DDT_green_h"],
      isComponent: false,
      style: {
        width: 37,
        height: 11,
        left: 711,
        top: 543
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1029,
        top: 506
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1007,
        top: 599
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 966,
        top: 584
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1006,
        top: 584
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 966,
        top: 600
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1045,
        top: 570
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1340,
        top: 456
      }
    },
    {
      icon: map["FF2_green_h"],
      isComponent: false,
      style: {
        width: 29,
        height: 14,
        left: 1360,
        top: 551
      }
    },
    {
      icon: map["FF2_green"],
      isComponent: false,
      style: {
        width: 16,
        height: 29,
        left: 692,
        top: 389
      }
    },
    {
      icon: map["FF2_green"],
      isComponent: false,
      style: {
        width: 16,
        height: 29,
        left: 954,
        top: 479
      }
    }
  ];
};
